package hzau.service;

import hzau.pojo.requestParams.CourseRegisterParam;
import hzau.result.Result;

public interface CourseService {
    Result register(CourseRegisterParam course);

    Result delete(Long id);
    void deleteFromRedis(Long collegeId);
    void updateRedis(Long collegeId);

    Result update(Long courseId, CourseRegisterParam course);

    Result getAll(Long collegeId, Integer pageNum);

    Result getOne(Long courseId);

    Result alterCreateTeacher(Long courseId, Long teacherId);

    Result alterReviewTeacher(Long courseId, Long teacherId);
}
